/**
 * @name 袁天乐
 * @time 2021/08/14 09:55
 */

import React from "react"
import {Switch} from "react-router-dom"
import RouterAurh from "./routerAurh"

function viewRouter(props) {
    let { routerConfig=[] } =props
    return (
        <div>
            <Switch>
                <RouterAurh routerConfig={routerConfig} />
            </Switch>
        </div>
    )
}

export default viewRouter
